home *** CD-ROM | disk | FTP | other *** search
/ Shareware Extravaganza - Disc 4 / Shareware Extravaganza - Over 25,000 Programs (The Ultimate Shareware Company)(Disc 4 of 4)(1993).iso / cad / y14_5m.zip / INSTAL10.BAT < prev    next >
DOS Batch File  |  1990-09-15  |  3KB  |  103 lines

  1. @echo off
  2. cls
  3. echo      Hard disk installation program for AstroSoft ANSI SYMBOLS
  4. echo: 
  5. echo                for AUTOCAD VERSION 10+
  6. echo:
  7. echo          ANSI SYMBOL Files will be installed to %1\%2
  8. echo:
  9. echo          If this is not correct press ^C [ control C ] 
  10. echo          to abort installation.
  11. echo:
  12. echo      The install procedure will rename :
  13. echo        - ACAD.MNU to ACADMNU.BAK and replace it with 
  14. echo          a new ACAD.MNU file that contains pull down
  15. echo          menu options for the ANSI, DELTA ,Pick Block
  16. echo          and BORDER icon menus.
  17. echo         -ACAD.PGP to ACADPGP.ORG
  18. echo:  
  19. if %1ok==ok goto nospec
  20. %1
  21. if %3e==e goto nosource
  22. pause
  23. CD\%2
  24. :chknme
  25. IF EXIST %3\ANSILIB1.* goto instal
  26. GOTO ABORT
  27. :instal
  28. %1
  29. cd\%2
  30. if exist %1\%2\ACAD.MNU goto rename
  31. goto nodir
  32. :instal1
  33. %3pkunzip -o %3ANSILIB1
  34. ren acad10.mnu acad.mnu
  35. ren acad10.pgp acad.pgp
  36. goto end
  37. :nospec
  38. echo Usage: INSTAL10 d: ACAD A:   Where d: is the logical name of your hard disk.
  39. echo                             and ACAD is the directory name for Autocad
  40. echo                             drawing files.
  41. echo                             - leave a space between    d: and ACAD
  42. echo                             A: is the SOURCE drive Letter
  43. echo                             For example    INSTAL10 C: ACAD A:
  44. echo                             will install the ANSI SYMBOLS and
  45. echo                             MENU files on hard disk C:\ACAD
  46. echo                             A: is the Source Drive.
  47. echo                             Existing menu file ACAD.MNU will be renamed
  48. echo                             ACADMNU.BAK
  49. goto end1
  50. :nodir
  51. echo          INSTALLATION ERROR:              
  52. echo:
  53. echo                             Specified directory %1\%2 not valid !!!
  54. echo:     
  55. echo                             ACAD.MNU file must be in directory.
  56. echo                             Please re-enter drive and directory -
  57. echo                             don't forget to leave a space between 
  58. echo                             the Drive and Directory name and Source Drive. 
  59. goto end1
  60. :rename
  61. if exist %1\%2\acadmnu.bak goto befor
  62. ren %1\%2\acad.pgp acadpgp.org
  63. ren %1\%2\ACAD.MNU ACADMNU.BAK
  64. echo       ACAD.MNU renamed to ACADMNU.BAK
  65. echo       ACAD.PGP renamed to ACADPGP.ORG
  66. goto instal1
  67. :end
  68. echo    ***********  INSTALLATION COMPLETE  ********************
  69. echo:
  70. echo              62 Drawing Files Copied
  71. echo               1 ACAD.MNU File Copied for Ver 10
  72. echo               3 Slide Library Files Copied
  73. echo               2 Slide Files copied
  74. echo               1 ANSIREAD.ME File Copied
  75. echo               1 ANSI.BAT File Copied
  76. echo              12 ANSI Support Files Copied
  77. echo:
  78. echo               Type  ANSI  -Enter- at anytime
  79. echo               %1\%2 directory for HELP or INFO
  80. echo:
  81. echo           ANSI OnLine Help will run when you Exit
  82. pause
  83. goto end2
  84. :nosource
  85. echo:
  86. echo           No SOURCE Drive Letter specified
  87. echo:
  88. goto end1
  89. goto chknme
  90. :befor
  91. echo            File ACADMNU.BAK Exists in %1\%2
  92. goto before
  93. :ABORT
  94. echo:
  95. echo               ZIP FILE NOT FOUND IN %3
  96. echo:
  97. echo        PLEASE CHECK PATH\DIRECTORY AND TRY AGAIN
  98. echo:
  99. echo            ***** Installation ABORTED *****
  100. goto end1
  101. :end2
  102. ansi
  103. :end1